package cn.hn.tx.rebot.poll.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import cn.hn.comm.Tools;
import cn.hn.tx.rebot.poll.model.RebotPoll;
import cn.hn.tx.rebot.poll.model.RebotPollOption;

public interface IRebotPollService {
	Integer insertRebotPoll(RebotPoll rebotPoll);
	
	void insertRebotPollOption(List<RebotPollOption> pollOptions);
	
	List<RebotPollOption> queryListRebotPollOptionByPid(int pid);
	
	List<RebotPoll> queryListRebotPollBySubject(String subject);
	
	void updateRebotPoll(RebotPoll rebotPoll);
	
	RebotPoll queryRebotPollByPid(int pid);

}
